﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UCS.ArtificialInteligence.AI
{
    public class AStarListNode
    {
        private int _value;
        public int Value
        {
            get { return _value; }
            set { _value = value; }
        }

        private int _depth;
        public int Depth
        {
            get { return _depth; }
            set { _depth = value; }
        }

        private IProblemState _state;
        public IProblemState State
        {
            get { return _state; }
            set { _state = value; }
        }

        private AStarListNode _next;
        public AStarListNode Next
        {
            get { return _next; }
            set { _next = value; }
        }

        public AStarListNode(int value, int depth, IProblemState state)
        {
            _value = value;
            _depth = depth;
            _state = state;
        }
    }
}
